class Donation:
  def __init__(self, donor, contact, phone, streetAddress, city, state, zipcode, date, mailAddress, mailCity, mailState, mailZipcode, email, value):
	if mailAddress == "": # If a mailing address is not specified, copy the contact address
		self.mailAddress = streetAddress
		self.mailCity = city
		self.mailState = state
		self.mailZipcode = zipcode
	else:
		self.mailAddress = mailAddress
		self.mailCity = mailCity
		self.mailState = mailState
		self.mailZipcode = mailZipcode
	self.donor = donor
	self.contact = contact
	self.phone = phone
	self.streetAddress = streetAddress
	self.city = city
	self.state = state
	self.zipcode = zipcode
	self.date = date
	self.email = email
	self.value = value
